<template>
  <div id="treatment">
    <el-container>
      <el-aside>
        <Banner></Banner>
      </el-aside>
      <el-container>
        <el-header height="80px">
          <Header></Header>
        </el-header>
        <el-main>
          <router-view/>
        </el-main>
        <el-footer class="smalllineheight">
          Version 1.0.5 Powered by VUE.js & ElementUI&nbsp;&nbsp;&nbsp;ElementUI is a trademark of Ele.me<br>
          ©2019-2021 iloveleiyuxin.com All Rights Reserved 版权所有，仅供学习使用
        </el-footer>
      </el-container>
    </el-container>
  </div>

</template>

<script>
import Banner from "./Banner/Banner";
import Header from "./Header/Header";
export default {
  name: 'treatment',
  methods: {

  },
  components: {
    Header,
    Banner,
  },
  data () {
    return{
      msg:'YanKaiXing',
    }
  },

}
</script>

<style scoped>
.el-header, .el-footer {
  background-color: #F5F7FA;
  color: #333;
  text-align: center;
  line-height: 60px;
}

.el-aside {
  background-color: #D3DCE6;
  color: #333;
  text-align: center;
  line-height: 40px;
  width: 300px;
}

.el-main {
  background-color: #E9EEF3;
  color: #333;
  text-align: center;
  line-height: 160px;
}

body > .el-container {
  margin-bottom: 40px;
}

.el-container:nth-child(5) .el-aside,
.el-container:nth-child(6) .el-aside {
  line-height: 260px;
}

.el-container:nth-child(7) .el-aside {
  line-height: 320px;
}

.smalllineheight{
  height: 40px;
  line-height: 25px;
  font-size: 12px;
}


</style>
